/**
 * @author yiting.zhao
 * @time 2022-02-24
 * @description vue脚手架的webpack配置
 */

module.exports = {
    lintOnSave: false,
    pages: {
        index: {
            template: './public/index.html',
            entry: './src/index.js'
        }
    },
    devServer: {
        open: true,
        port: 16666,
        proxy: {
            '/apis': {
                target: 'http://localhost:30000',
                pathRewrite: {
                    '/apis': ''
                }
            }
        }
    }
}